from django.contrib import admin

from .models import Post, Category, Like, Tag


@admin.register(Tag)
class TagAdmin(admin.ModelAdmin):
    pass


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display = ('title', 'date_created')


@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ('name', 'user', 'date_created')


@admin.register(Like)
class LikeAdmin(admin.ModelAdmin):
    pass
